﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Torneo.Entidades.Usuario>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    
    <% using (Html.BeginForm("CreateConfirmationUsuario", "Torneo"))
       {%>
    <%: Html.ValidationSummary(true) %>
    <table width="95%" style="padding: 25px;">
        <tr>
            <td>            
                <%: Html.LabelFor(model => model.Nombre) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.Nombre, new Dictionary<string, object> { { "data-required", "required" }} )%>
                <%: Html.ValidationMessageFor(model => model.Nombre) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.LabelFor(model => model.Apellido) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.Apellido) %>
                <%: Html.ValidationMessageFor(model => model.Apellido) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.LabelFor(model => model.User) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.User) %>
                <%: Html.ValidationMessageFor(model => model.User) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.LabelFor(model => model.Password) %>
            </td>
            <td>
                <input type="password" id="Password" name="Password" />
            </td>
        </tr>
        <tr>
            <td>
                
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>

             <a href="<%: Url.Action("ListarUsuarios", "Torneo") %>">
                    <img src="../../Content/images/flecha_volver.jpg" title="Volver" width="16px" height="16px" alt="Volver"></a>                
                
            </td>
            <td align="right">
                <input type="image" src="../../Content/images/save.png" value="" alt="Submit">
                
            </td>
        </tr>
    </table>
    <% } %>    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
